package cn.ulc.socket.admin.service.goods;

import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.goods.GoodsDTO;
import cn.ulc.socket.admin.model.dto.goods.GoodsListDTO;
import cn.ulc.socket.admin.model.param.goods.GoodsSaveParam;

public interface GoodsServ {

    GoodsListDTO findWaterListPage(String name, Long goodsTypeId, PaginationParam pager);

    GoodsListDTO findListPage(String name, Long goodsTypeId, PaginationParam pager);

    GoodsDTO findDetail(Long id);

    Boolean save(GoodsSaveParam param);

    Boolean deleted(Long id);

    Boolean changeStatus(Long id, AvailableStatus status);


}
